<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import ="com.qm.hibernate.Tuser" %>
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib prefix="s"
	uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>灌水区</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link rel="stylesheet" type="text/css" href="../Css/styles.css">

  </head>
  
  <body>
  <% 
	Tuser user = (Tuser)session.getAttribute("user");
	
%>
   <%@ include file = "../Public/communityHeader.jsp"%>
    <a href = "index">球迷小区</a><span style = "color:black">>灌水区</span>  
  	  <br/>
   </div>
   <div id = "container">
  <table style="text-align:left;">
			<tr>
				<th style="width:500;padding:10 0 10 0">帖子标题</th>
				<th style="width:500">作者/时间</th>
				<th>回复</th>
			</tr>
			 <s:iterator id="list" value="#session.chitChat">
					<tr>
					<td>
						<a href="postAction?id=<s:property value="#list[0].id" />"> <s:property value="#list[0].title" /> </a>
					</td>
					<td>					
						<a href = "hisIndex?id=<s:property value="#list[1].id" />"> 
						 <s:property value="#list[1].name" />
						</a>
						 <s:property value="#list[0].releaseTime" /> 
						</td>  
						 <td>
						 <s:property value="#list[0].commentCount" />					
					</td>
					</tr>
				</s:iterator> 
		</table>
   		<form action = "preWritePost">
		<input type = "hidden" name = "section" value = "chitChat">
		<input type = "submit"  value= "发起帖子"/>
		</form>
  </body>
</html>
